package com.java110.mall.chain.supplier;

import com.java110.dto.shop.ShopPrinterMachineDto;
import com.java110.dto.storeOrder.StoreOrderDto;
import com.java110.dto.storeOrderWriteoff.StoreOrderWriteoffDto;

/**
 * 订单打印
 */
public interface IOrderPrintAdapter {

    /**
     * 打印订单
     *
     * @param shopPrinterMachineDto 打印设备
     * @param storeOrderDto         打印订单信息
     */
    void printOrder(ShopPrinterMachineDto shopPrinterMachineDto, StoreOrderDto storeOrderDto) ;

    /**
     * 打印待核销订单
     * @param shopPrinterMachineDto
     * @param storeOrderDto
     * @param storeOrderWriteoffDto
     */
    void printReadyOrder(ShopPrinterMachineDto shopPrinterMachineDto, StoreOrderDto storeOrderDto, StoreOrderWriteoffDto storeOrderWriteoffDto);
}
